package com.yocard.yxyd.http.model.response;

import java.util.List;

import lombok.Data;

@Data
public class InviteRecord {
    /**
     * current_page : 1
     * data : [{"mobile":"151****8740","created_at":"1558086651","updated_at":"1558524310","coin":0},{"mobile":"187****1918","created_at":"1558410718","updated_at":null,"coin":0},{"mobile":"151****1039","created_at":"1558575153","updated_at":null,"coin":0},{"mobile":"139****4085","created_at":"1559120531","updated_at":null,"coin":0}]
     * first_page_url : http://zhanye.com/api/v/1.0/share/list?page=1
     * from : 1
     * last_page : 1
     * last_page_url : http://zhanye.com/api/v/1.0/share/list?page=1
     * next_page_url : null
     * path : http://zhanye.com/api/v/1.0/share/list
     * per_page : 15
     * prev_page_url : null
     * to : 4
     * total : 4
     */

    private int current_page;
    private String first_page_url;
    private int from;
    private int last_page;
    private String last_page_url;
    private String next_page_url;
    private String path;
    private int per_page;
    private String prev_page_url;
    private int to;
    private int total;
    private List<DataBean> data;

    @Data
    public static class DataBean {
        /**
         * mobile : 151****8740
         * created_at : 1558086651
         * updated_at : 1558524310
         * coin : 0
         */

        private String mobile;
        private long created_at;
        private long updated_at;
        private int coin;
    }
}
